<div class="event pkg">
     <div class="post">
        <div class="title">
            Events:
        </div>
        {foreach key=post_id item=post from=$data}
            <div class="entry pkg">
                <div class="left">
                    <a href="?module=res&act=detail&id={$post.id}">
                        <img src="data/images/event/{$post.image}"
                    </a>
                </div>
                <div class="right">
                    <div class="header">
                        <a class="name">
                        {$post.entitle}
                        </a> 
                        From:
                        {$post.fromdate}
                    </div>
                    <div class="description">
                        {$post.endescription} 
                    </div>
                </div>
              
            </div>

         {/foreach}
     </div> 
      <div class="more">
                {if !empty($pagination)}
         <p>&nbsp;&nbsp;</p>
         <div class="pagingBar" align="right">{$pagination}</div>
         {/if} 
     </div>
</div>